package com.heaven.ojcodesandbox.security;

import java.security.Permission;

/**
 * @Description 默认安全管理器
 * @Author HeavenDirt
 * @Date 2024/7/27 15:44
 */
public class DefaultSecurityManager extends SecurityManager {

    //检查所有权限
    @Override
    public void checkPermission(Permission perm) {
        System.out.println("默认不做任何权限限制");
        super.checkPermission(perm);
    }
}
